<!DOCTYPE html>
<html>
<#include "../head.html">
    <body>
    <div class="mc">
        <div class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "left.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </div>
        <div class="mc-m">
            <div class="navToggle"></div>
        </div>
        <div class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->
                <#assign fd="FINANCE_DIRECTOR">
                    <!--面包屑导航---{-->
                    <#assign moduleName="客户资金统计">
                        <#include "banner.html">
                            <!--面包屑导航---}-->



                            <!--工具栏--}-->

                            <div id="main" class="clearfix">
                                <form id="batchForm" action="#" method="post">
                                    <table class="data-list">
                                        <tr class="header">
                                            <td>ID</td>
                                            <td>所有总额</td>
                                            <td>所有可用</td>
                                            <td>所有不可用</td>
                                            <td>所有待还</td>
                                            <td>所有待收</td>
                                            <td>理财经理</td>
                                        </tr>
                                        <#list list as item>
                                            <tr class="s">
                                                <td>${item_index+1}</td>
                                                <td>${item.total?c}</td>
                                                <td>${item.useMoney?c}</td>
                                                <td>${item.noUseMoney?c}</td>
                                                <td>${item.repay?c}</td>
                                                <td>${item.collection?c}</td>
                                                <td><#if item.systemUser??>${item.systemUser.realname!''}</#if></td>
                                            </tr>
                                        </#list>
                                    </table>
                                </form>


                                <!--底部工具栏--{-->
                                <#if fd  == auth_user.userType.code>

                                    <div id="bottomToolbar" class="clearfix">
                                        <div class="other-tool">
                                            <dl class="refresh-data">
                                                <dt class="refresh-data-icon"></dt>
                                                <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                            </dl>
                                        </div>
                                        <!--翻页系统--{-->
                                        <div class="container s_formPage">
                                            <#import "../../common/page.html" as pager>
                                                <@pager.pagination page=page url="${pageUrl}" map=param style="style1" />
                                        </div>
                                        <!--翻页系统--}-->
                                    </div>




                                    <form>
                                        所有用户资金统计:
                                        <table class="data-list">
                                            <tr class="header">
                                                <td>所有总额</td>
                                                <td>所有可用</td>
                                                <td>所有不可用</td>
                                                <td>所有待还</td>
                                                <td>所有待收</td>
                                            </tr>
                                            <tr class="s">
                                                <td><#if accountBeanAll ?? >${accountBeanAll.total?c}</#if> </td>
                                                <td><#if accountBeanAll ?? >${accountBeanAll.useMoney?c}</#if> </td>
                                                <td><#if accountBeanAll ?? >${accountBeanAll.noUseMoney?c}</#if> </td>
                                                <td><#if accountBeanAll ?? >${accountBeanAll.repay?c}</#if> </td>
                                                <td><#if accountBeanAll ?? >${accountBeanAll.collection?c}</#if> </td>
                                            </tr>
                                        </table>
                                        <br/>
                                        <br/>
                                        <br/>
                                        <br/>
                                        用户资金统计(借款人账户除外):
                                        <table class="data-list">
                                            <tr class="header">
                                                <td>所有总额</td>
                                                <td>所有可用</td>
                                                <td>所有不可用</td>
                                                <td>所有待还</td>
                                                <td>所有待收</td>
                                            </tr>
                                            <tr class="s">
                                                <td><#if accountBean ?? >${accountBean.total?c}</#if> </td>
                                                <td><#if accountBean ?? >${accountBean.useMoney?c}</#if> </td>
                                                <td><#if accountBean ?? >${accountBean.noUseMoney?c}</#if> </td>
                                                <td><#if accountBean ?? >${accountBean.repay?c}</#if> </td>
                                                <td><#if accountBean ?? >${accountBean.collection?c}</#if> </td>
                                            </tr>
                                        </table>


                                    </form>

                                </#if>


                                <!--底部工具栏--}-->
                            </div>
        </div>
    </div>
    <div class="mc-b">
        <#include "../foot.html">
    </div>
    <#include "../jsPage.html">
    </body>
</html>
